<template>

  <div class="content">
  
    <DateLine :datas="data" />
  </div>

</template>
<script>
// import { OneWord } from "@/api/oneWord";
import DateLine from "./DateLine.vue";
export default {
  data() {
    return {
      data: [],
    };
  },
  components: {
    DateLine,
  },
  methods: {
    async getOneWord() {
      const res = await this.$http.get("/user/oneword");
   
        this.data=res.data.data.list;
    },
  },
  created() {

    this.getOneWord();
  
  },
};
</script>
<style scoped>
.content {
  width: 100%;
  display: flex;
  justify-content: center;
    background: #f5f5f5 !important;
    
}

</style>
